package scauCmiScaffolding.compiled;

import org.eclipse.jet.JET2Context;
import org.eclipse.jet.JET2Template;
import org.eclipse.jet.JET2Writer;
import org.eclipse.jet.taglib.RuntimeTagElement;
import org.eclipse.jet.taglib.TagInfo;

public class _jet_findAllEntity_3 implements JET2Template {
    private static final String _jetns_c = "org.eclipse.jet.controlTags"; //$NON-NLS-1$
    private static final String _jetns_java = "org.eclipse.jet.javaTags"; //$NON-NLS-1$

    public _jet_findAllEntity_3() {
        super();
    }

    private static final String NL = System.getProperty("line.separator"); //$NON-NLS-1$
    
    private static final TagInfo _td_java_format_1_1 = new TagInfo("java:format", //$NON-NLS-1$
            1, 1,
            new String[] {
            },
            new String[] {
            } );
    private static final TagInfo _td_c_get_2_12 = new TagInfo("c:get", //$NON-NLS-1$
            2, 12,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_2_71 = new TagInfo("c:get", //$NON-NLS-1$
            2, 71,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_java_import_4_8 = new TagInfo("java:import", //$NON-NLS-1$
            4, 8,
            new String[] {
            },
            new String[] {
            } );
    private static final TagInfo _td_c_get_4_49 = new TagInfo("c:get", //$NON-NLS-1$
            4, 49,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_4_108 = new TagInfo("c:get", //$NON-NLS-1$
            4, 108,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_java_import_4_197 = new TagInfo("java:import", //$NON-NLS-1$
            4, 197,
            new String[] {
            },
            new String[] {
            } );
    private static final TagInfo _td_c_iterate_6_1 = new TagInfo("c:iterate", //$NON-NLS-1$
            6, 1,
            new String[] {
                "select", //$NON-NLS-1$
                "var", //$NON-NLS-1$
            },
            new String[] {
                "$eachTable/foreigns/column", //$NON-NLS-1$
                "foreign", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_7_13 = new TagInfo("c:get", //$NON-NLS-1$
            7, 13,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_7_69 = new TagInfo("c:get", //$NON-NLS-1$
            7, 69,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_7_122 = new TagInfo("c:get", //$NON-NLS-1$
            7, 122,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($foreign/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_7_179 = new TagInfo("c:get", //$NON-NLS-1$
            7, 179,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($foreign/@referenceTable)", //$NON-NLS-1$
            } );

    public void generate(final JET2Context context, final JET2Writer __out) {
        JET2Writer out = __out;
        RuntimeTagElement _jettag_java_format_1_1 = context.getTagFactory().createRuntimeTag(_jetns_java, "format", "java:format", _td_java_format_1_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_java_format_1_1.setRuntimeParent(null);
        _jettag_java_format_1_1.setTagInfo(_td_java_format_1_1);
        _jettag_java_format_1_1.doStart(context, out);
        JET2Writer _jettag_java_format_1_1_saved_out = out;
        while (_jettag_java_format_1_1.okToProcessBody()) {
            out = out.newNestedContentWriter();
            out.write(NL);         
            out.write("public Set<");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_2_12 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_2_12); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_2_12.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_2_12.setTagInfo(_td_c_get_2_12);
            _jettag_c_get_2_12.doStart(context, out);
            _jettag_c_get_2_12.doEnd();
            out.write("> findAll");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_2_71 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_2_71); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_2_71.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_2_71.setTagInfo(_td_c_get_2_71);
            _jettag_c_get_2_71.doStart(context, out);
            _jettag_c_get_2_71.doEnd();
            out.write("s() throws DataAccessException;");  //$NON-NLS-1$        
            out.write(NL);         
            out.write(NL);         
            out.write("public ");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_java_import_4_8 = context.getTagFactory().createRuntimeTag(_jetns_java, "import", "java:import", _td_java_import_4_8); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_java_import_4_8.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_java_import_4_8.setTagInfo(_td_java_import_4_8);
            _jettag_java_import_4_8.doStart(context, out);
            JET2Writer _jettag_java_import_4_8_saved_out = out;
            while (_jettag_java_import_4_8.okToProcessBody()) {
                out = out.newNestedContentWriter();
                out.write("java.util.Set");  //$NON-NLS-1$        
                _jettag_java_import_4_8.handleBodyContent(out);
            }
            out = _jettag_java_import_4_8_saved_out;
            _jettag_java_import_4_8.doEnd();
            out.write("<");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_4_49 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_4_49); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_4_49.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_4_49.setTagInfo(_td_c_get_4_49);
            _jettag_c_get_4_49.doStart(context, out);
            _jettag_c_get_4_49.doEnd();
            out.write("> findAll");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_4_108 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_4_108); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_4_108.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_4_108.setTagInfo(_td_c_get_4_108);
            _jettag_c_get_4_108.doStart(context, out);
            _jettag_c_get_4_108.doEnd();
            out.write("s(int startResult, int maxRows) throws ");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_java_import_4_197 = context.getTagFactory().createRuntimeTag(_jetns_java, "import", "java:import", _td_java_import_4_197); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_java_import_4_197.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_java_import_4_197.setTagInfo(_td_java_import_4_197);
            _jettag_java_import_4_197.doStart(context, out);
            JET2Writer _jettag_java_import_4_197_saved_out = out;
            while (_jettag_java_import_4_197.okToProcessBody()) {
                out = out.newNestedContentWriter();
                out.write("org.springframework.dao.DataAccessException");  //$NON-NLS-1$        
                _jettag_java_import_4_197.handleBodyContent(out);
            }
            out = _jettag_java_import_4_197_saved_out;
            _jettag_java_import_4_197.doEnd();
            out.write(";");  //$NON-NLS-1$        
            out.write(NL);         
            out.write(NL);         
            RuntimeTagElement _jettag_c_iterate_6_1 = context.getTagFactory().createRuntimeTag(_jetns_c, "iterate", "c:iterate", _td_c_iterate_6_1); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_iterate_6_1.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_iterate_6_1.setTagInfo(_td_c_iterate_6_1);
            _jettag_c_iterate_6_1.doStart(context, out);
            while (_jettag_c_iterate_6_1.okToProcessBody()) {
                out.write("\tpublic Set<");  //$NON-NLS-1$        
                RuntimeTagElement _jettag_c_get_7_13 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_7_13); //$NON-NLS-1$ //$NON-NLS-2$
                _jettag_c_get_7_13.setRuntimeParent(_jettag_c_iterate_6_1);
                _jettag_c_get_7_13.setTagInfo(_td_c_get_7_13);
                _jettag_c_get_7_13.doStart(context, out);
                _jettag_c_get_7_13.doEnd();
                out.write("> find");  //$NON-NLS-1$        
                RuntimeTagElement _jettag_c_get_7_69 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_7_69); //$NON-NLS-1$ //$NON-NLS-2$
                _jettag_c_get_7_69.setRuntimeParent(_jettag_c_iterate_6_1);
                _jettag_c_get_7_69.setTagInfo(_td_c_get_7_69);
                _jettag_c_get_7_69.doStart(context, out);
                _jettag_c_get_7_69.doEnd();
                out.write("sBy");  //$NON-NLS-1$        
                RuntimeTagElement _jettag_c_get_7_122 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_7_122); //$NON-NLS-1$ //$NON-NLS-2$
                _jettag_c_get_7_122.setRuntimeParent(_jettag_c_iterate_6_1);
                _jettag_c_get_7_122.setTagInfo(_td_c_get_7_122);
                _jettag_c_get_7_122.doStart(context, out);
                _jettag_c_get_7_122.doEnd();
                out.write("(Integer ");  //$NON-NLS-1$        
                RuntimeTagElement _jettag_c_get_7_179 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_7_179); //$NON-NLS-1$ //$NON-NLS-2$
                _jettag_c_get_7_179.setRuntimeParent(_jettag_c_iterate_6_1);
                _jettag_c_get_7_179.setTagInfo(_td_c_get_7_179);
                _jettag_c_get_7_179.doStart(context, out);
                _jettag_c_get_7_179.doEnd();
                out.write("Id,int start,int max);");  //$NON-NLS-1$        
                out.write(NL);         
                _jettag_c_iterate_6_1.handleBodyContent(out);
            }
            _jettag_c_iterate_6_1.doEnd();
            _jettag_java_format_1_1.handleBodyContent(out);
        }
        out = _jettag_java_format_1_1_saved_out;
        _jettag_java_format_1_1.doEnd();
    }
}
